package com.zhixiang.xaec.entity.system;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import org.hibernate.cfg.Comment;

import com.zhixiang.xaec.entity.BaseEntity;
@Entity
@Table(name="sys_Position")
@Comment("职位")
public class Position extends BaseEntity
{
    @Comment("职位名称")
    @Column(length=50)   
    private String positionName;
    @Comment("职位职责")
    @Column(length=100)
    private String responsibility;
    @Comment("职位状态")
    private Short  state;
    @Comment("上级职位")
    private Long parentId;
    @Comment("职位深度")
    private Long depth;
    @Comment("职位层级")
    private String path;
    public String getPositionName()
    {
        return positionName;
    }
    public void setPositionName(String positionName)
    {
        this.positionName = positionName;
    }
    public String getResponsibility()
    {
        return responsibility;
    }
    public void setResponsibility(String responsibility)
    {
        this.responsibility = responsibility;
    }
    public Short getState()
    {
        return state;
    }
    public void setState(Short state)
    {
        this.state = state;
    }
    public Long getParentId()
    {
        return parentId;
    }
    public void setParentId(Long parentId)
    {
        this.parentId = parentId;
    }
    public Long getDepth()
    {
        return depth;
    }
    public void setDepth(Long depth)
    {
        this.depth = depth;
    }
    public String getPath()
    {
        return path;
    }
    public void setPath(String path)
    {
        this.path = path;
    }
    
    
}
